package com.example.as_sum.entity;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

/**
 * Created by ran on 2016/10/9.
 */
@Table("student")
public class Student {
    @PrimaryKey(AssignType.BY_MYSELF)
    @Column("sid")
    long id;//设置主键
    String name;
    String info;
    String sex;
    String sno;
    String sxxx;

    public String getSxxx() {
        return sxxx;
    }

    public void setSxxx(String sxxx) {
        this.sxxx = sxxx;
    }



    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


    public Student(){}
    public Student(long id,String name,  String info) {
        this.name = name;
        this.id = id;
        this.info = info;
    }
    public Student(long id,String name,  String info,String sex,String sno) {
        this.name = name;
        this.id = id;
        this.info = info;
        this.sno=sno;
        this.sex=sex;
    }
}
